# setup some global variables to control the behavior of enter functioning
# 
# Author: guochun
###############################################################################

#absolute path of current project
PATH=getwd()

#bool indicate whether the host is linux Os
LINUX=version$os=="linux-gnu"

#control wether parallel calculation
if(LINUX){
PARALLEL=TRUE
}else{
PARALLEL=FALSE
}

#control wether run unit tests
TEST=FALSE
if(PARALLEL)
warning("Some functions under parallel runing are undebugable")

#default number of cores used when parallel calculation is possible
MC_CORES=35

